
/**
 * Created by xiongshilin on 2017/3/24.
 */
(function(){
    VUEADF.Control = function(parent) {
        VUEADF.Control.superclass.constructor.call(this, parent);
        this.vueData = {};
    };
    COM.util.defineClass(VUEADF.Control, AGEF.Control, {
        getBounds:function(){
            // var bounds = COM.util.HTMLUtil.getBounds(this.domElement);
            // var parentControlElement = this.getParent().getDomElement();
            // var parentDomElement = this.domElement.parentElement;
            // while(parentControlElement !== parentDomElement){
            //     var parentBounds = COM.util.HTMLUtil.getBounds(parentDomElement);
            //     bounds.x = bounds.x + parentBounds.x + 1;//(父容器内边框的高度) + 1（父容器边框）
            //     bounds.y = bounds.y + parentBounds.y + 1;//要坐标高度20（标题栏高度） + 1（父容器边框）
            //     parentDomElement = parentDomElement.parentElement;
            // }
            // return bounds;
            return {
                x : 100,
                y : 100,
                width : 100,
                height : 100
            }
        },

        createDomElement: function(){},


        getVueData : function(){
            return this.vueData;
        },

        getVM : function(){
            return null;
        }

    });
})();